﻿using NicoView.Model.Service;
using NicoView.Model.Service.Results;
using NicoView.Model.Share.Service.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service.Events
{
    public abstract class NicoResultEventArgs : NicoEventArgs
    {
        public NicoResultEventArgs() 
        {
            Result = new Result();
        }

        public NicoResultEventArgs(IResult result)
        {
            Result = result;
        }

        public IResult Result { get; internal set; }

        public NicoResultEventArgs(string message) 
        {
            Result = new Result(message);
        }
    }
}
